---
title: "Estimated Buy Amount"
method: GET
path: "/api/v1/markets/{market}/estimated-buy-amount/{sell amount in quote}"
---

# Estimated Buy Amount

`GET /api/v1/markets/{market}/estimated-buy-amount/{sell amount in quote}`

Estimate the buy amount (in buy tokens) a user can set as a limit order while still expecting to be completely matched when selling the given amount of quote token.

## Path parameters

- `market` string, required
- `sell amount in quote` number, required

## Query parameters

- `unit` 'baseunits' | 'atoms'
- `batchId` integer
- `ignoreAddresses` string
- `blockNumber` integer
- `roundingBuffer` 'enabled' | 'disabled'

## Response `200`

OK

- AmountResponse
  - `baseTokenId` integer
  - `quoteTokenId` integer
  - `buyAmountInBase` string
  - `sellAmountInQuote` string

---

[API](https://skmtc.net/gnosis/apis/price-estimator-openapi.md) · [All operations](https://skmtc.net/gnosis/apis/price-estimator-openapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gnosis/price-estimator-openapi/revisions/b640b4fe9702/schema)
